/*
* Init
*/

* {
	padding: 0px;
	margin: 0px;
}

/*
* Mobile styles
*/

* {
	font-size: 30pt;
}

h1 {
	font-size: 40pt;
}

#letterlist {
	display: none;
}

#content { 
	width: 90%; 
	margin: 15px auto; 
	position: relative;
	z-index: 50;
}

#content #coverimg {
	margin-top: 10px;
}

#sidebar ul { 
	background: #eee; 
	padding: 10px; 
}

#main { 
	width: 80%; 
	float: left; 
	margin-top: 50px; 
	margin-left: 10% 
}

#alist {
	width: 100%;
}

#mainlist { 
	width: 100%; 
	margin-top: 50px; 
}

#sidebar { 
	display: none;
}

#bar { 
	position: fixed; 
	bottom: 0px;
	padding-top: 15px;
	width: 100%;
	text-align: center;
	z-index: 100;
}

#sidebarLetters-close {
	margin-bottom: 15px;
}

#sidebarLetters-close a{
	background-color: #111;
	border: 1px solid gray;
	font-weight: bold;
	color: white;
	padding: 5px;
}

a {
	font-size: 30pt;
}

#content #coverimg {
	width: 100%;
}

.bild {
	width: 31%;
	height: auto;
	padding: 1%;
}

#booktbl {
	column-count: 3;
	column-width: 33%;
}

/*
* Desktop styles
*/
@media screen and (min-width: 1100px){
	* {
		font-size: medium;
	}
	
	h3 {
		font-size: 20pt;
	}
	
	#letterlist {
		display: inline;
	}
	
	#sidebar { 
		display: block;
		width: 12%; 
		position: fixed; 
		left: 2%; 
		top: 210px;  
	}
	
	#sidebar a:link,  #sidebar a:visited, #sidebar a:active{
		color: black;
		font-weight: normal;
	}
	
	#sidebar a:hover {
		color: #990000;
		font-weight: bold;
	}
	
	#sidebarLetters-close { 
		display: none; 
	}
	
	#bar { 
		position: relative; 
		padding: 0px;
		width: 92%;
		text-align: left;
		padding-left: 8%;
	}
	
	#content { 
		width: 70%; 
		margin: 15px auto; 
		position: relative; 
	}
	
	#content #coverimg {
		margin-top: 10px;
		width: 30%;
	}
	
	#alist {
		width: 50%;
	}

	
	.tooltip {
		position: absolute;
		display: none;
		background-color: #FFFFFF;
	}
	
	a {
		font-size:18px;
	}
	
	a.letterCur, a.letter {
		font-size:20px;
		border-bottom-width: 0;
	}
	
	.bild {
		width: 18%;
		height: auto;
		padding: 1%;
	}
	
	#booktbl {
		column-count: 5;
		column-width: 20%;
	}
}

/*
* General styles
*/

body 
{
	color: #AAA;
	background-color: #333;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
}

#title, #bar {
	background-color: #111;
}

#title{
	padding: 15px;
	padding-left: 8%;
	padding-right: 8%;
	font-size: 40px;
}

#content #coverimg {
	margin-left: 10px;
	margin-right: 40px;
	margin-bottom: 40px;
	height: auto;
}

#letterlist {
	width: 90%;
	padding: 5px;
	padding-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
}

a:link, a:visited {
	text-decoration:none;
	color: #AAA;
}

a:hover {
	text-decoration:none;
	color: #DDD;
}

a.letter:link, a.letter:visited {
	color: #AAA;
	background-color: #333;
	border-style:solid;
	border-color: #111;
}

a.letter:hover {
	background-color: #1122DD;
}

a.letterCur:link, a.letterCur:visited {
	color:#000;
	background-color:#35F;
	border-style:solid;
	border-color: #333;
}

.letterCur, .letter {
	display: inline-block;
}

p.bookcontent {
	color:#FFFFFF;
}

h1 , h3{
	color:#990000;
}

#booktbl {
	width: 100%;
	border: 1px solid;
	border-color: #888;
}

td {
	border: 1px solid;
	border-color: #888;
	padding: 1%;
	width: 20%;
}






